<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style>
		/* id选择器 */
			#dv1{
				width: 200px;
				height: 200px;
				background-color: pink;
			}
			/* 类选择器 */
			.dv{
				width: 300px;
				height: 300px;
				background-color: green;
			}
			/* 属性选择器 */
			[type="text"]{
				 width: 100px;
				 height: 50px;
			}
			/* 标记选择器 */
			div{
				border: 1px solid red;
				background-color: red;
			}
			[title="div"]{
				width: 200px;
				height: 200px;
				background-color: #8A2BE2;
			}
		</style>
	</head>
	<body>
		<div id="dv1" class="dv" title="div">div1</div>
		<div class="dv"></div>
		<input type="text" />
	</body>
</html>
